package com.upsuns.transfer;

import java.io.IOException;
import java.io.RandomAccessFile;

/**
 *@Description:<p>文件传输终端接口</p>
 *@author 王旭
 *@time 2016-1-31 下午2:41:27
 */
public interface Terminal {
	
	/**
	 * 发送数据
	 * @throws IOException 
	 */
	public void send(RandomAccessFile raf, long start, long len) throws IOException;
	
	
	/**
	 * 接收数据
	 */
	public void receive(RandomAccessFile raf, long start, long len) throws IOException;

}
